ifndef AST_EXPRESSIONS_MK
AST_EXPRESSIONS_MK:=yes

CURRENT_PATH:=$(PROJ_PATH)AST/Expressions/

TMP_OBJS :=$(CURRENT_PATH)AdditiveExpr.o \
$(CURRENT_PATH)AndExpr.o \
$(CURRENT_PATH)ArgumentExprList.o \
$(CURRENT_PATH)AssignmentExpr.o \
$(CURRENT_PATH)AssignmentOperator.o \
$(CURRENT_PATH)CastExpr.o \
$(CURRENT_PATH)ConditionalExpr.o \
$(CURRENT_PATH)ConstantExpr.o \
$(CURRENT_PATH)EqualityExpr.o \
$(CURRENT_PATH)ExclusiveORExpr.o \
$(CURRENT_PATH)Expression.o \
$(CURRENT_PATH)InclusiveORExpr.o \
$(CURRENT_PATH)LogicalANDExpr.o \
$(CURRENT_PATH)LogicalORExpr.o \
$(CURRENT_PATH)MultiplicativeExpr.o \
$(CURRENT_PATH)PostfixExpr.o \
$(CURRENT_PATH)PrimaryExpr.o \
$(CURRENT_PATH)RelationalExpr.o \
$(CURRENT_PATH)ShiftExpr.o \
$(CURRENT_PATH)UnaryExpr.o \
$(CURRENT_PATH)UnaryOperator.o


OBJS+=$(TMP_OBJS)

DEPS+= $(TMP_OBJS:%.o=%.d)

$(CURRENT_PATH)%.o:$(CURRENT_PATH)%.cpp
	@echo 'Building $@'
	g++ $(INCLUDES) $(DEFINES) $(COMPILE_FLAGS) -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
	@echo 'Finish building $@'
	@echo ' '
	
endif

